package org.nstack.header.host;

import org.nstack.header.message.APIEvent;
import org.nstack.header.rest.RestResponse;


@RestResponse(allTo = "inventory")
public class APIReconnectHostEvent extends APIEvent {

    private HostInventory inventory;

    public APIReconnectHostEvent() {
        super(null);
    }

    public APIReconnectHostEvent(String apiId) {
        super(apiId);
    }

    public HostInventory getInventory() {
        return inventory;
    }

    public void setInventory(HostInventory inventory) {
        this.inventory = inventory;
    }


 
    public static APIReconnectHostEvent __example__() {

        APIReconnectHostEvent event = new APIReconnectHostEvent();
        HostInventory hi = new HostInventory();
        hi.setName("example");
        hi.setClusterUuid(uuid());
        hi.setManagementIp("192.168.0.1");
        hi.setAvailableCpuCapacity(100000L);
        hi.setAvailableMemoryCapacity(100000L);
        return event;
    }

}
